# -*- coding:utf-8 -*-
"""
@Created on : 2025/02/04 08:12 AM
@Author: xiaomi
@Des: 后台api路由
"""
from fastapi import APIRouter
from app.backend import access, ad, admin, role, upload, config, content, category

# 后台管理api路由
admin_router = APIRouter(prefix="")
admin_router.include_router(admin.router, prefix='/admin', tags=["用户管理"])
admin_router.include_router(role.router, prefix='/role', tags=["角色管理"])
admin_router.include_router(access.router, prefix='/access', tags=["权限管理"])
admin_router.include_router(upload.router, prefix='/upload', tags=["文件上传"])
admin_router.include_router(ad.router, prefix='/ad', tags=["广告管理"])
admin_router.include_router(category.router, prefix='/category', tags=["栏目管理"])
admin_router.include_router(config.router, prefix='/config', tags=["设置管理"])
admin_router.include_router(content.router, prefix='/content', tags=["内容管理"])
